<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>用户列表</title>
<script type="text/javascript" src="/resources/js/jquery-1.9.1.min.js"></script>
</head>

<body>
    <table>
    	<thead>
    		<tr>
    			<th>用户名</th>
    			<th>邮箱</th>
    			<th>密码</th>
    		</tr>
    	</thead>
    	<tbody>
    		<c:forEach items="${users}" var="user">
    			<tr>
    				<td>${user.userName}</td>
    				<td>${user.userEmail}</td>
    				<td>${user.userPassword}</td>
    			</tr>
    		</c:forEach>
    	</tbody>
	</table>
</body>
</html>